package com.matt.service;

import com.matt.commons.dto.sso.StaffDTO;
import com.matt.commons.page.PagerQuery;
import com.matt.domain.ChildrenExtendInfo;
import com.matt.domain.ChildrenNurseryInfoRecord;
import com.matt.domain.vo.ContractVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/7/26
 * *******************************
 */
public interface NurseryInfoRecordService {

    void updateContractDate(StaffDTO staffDTO, int day);

    ChildrenExtendInfo updateChildrenIdContractDate(String ticket, StaffDTO staffDTO, String childrenId, int day);

    Page<ChildrenNurseryInfoRecord> getList(String childrenId, String beginDate, String endDate, PagerQuery pagerQuery);

    void getWorkDate();

    Map getBalance(StaffDTO staffDTO, String childrenId, String beginDate, String endDate, PagerQuery pagerQuery);

    List<Map<String, Object>> getMonthInfo(StaffDTO staffDTO, String classId, String name, String beginDate, String endDate);

    List<Map<String, Object>> exportMonthInfoSheet(StaffDTO staffDTO, String classId, String name, String beginDate, String endDate);

    List<ContractVo> clientelesIdByContractList(String clientelesIds);

    List<ChildrenNurseryInfoRecord> findByChildrenIdIn(String[] childrenIds);

    Page<ChildrenNurseryInfoRecord> getListByAreaId(String areaId, String childrenName, String beginDate, String endDate, PagerQuery pagerQuery);
//    List<Map<String, Object>> exportMonthInfoSheet(StaffDTO staffDTO, String classId, String name, String beginDate, String endDate);
}
